package com.ruoyi.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.Coach;

import java.util.List;

public interface ICoachService extends IService<Coach> {
    /**
     * 查询所有启用的教练列表
     * @return 场馆集合
     */
    public List<Coach> getAllCoachList();
    /**
     * 查询教练列表
     *
     * @param coach 场馆
     * @return 场馆集合
     */
    public List<Coach> getCoachList(Coach coach);

    /**
     * 新增教练数据
     * @param coach 场馆
     */
    public int insertCoach(Coach coach);

    /**
     * 更新教练数据
     * @param coach 场馆
     */
    public int updateCoach(Coach coach);

    public Coach getCoachById(long id);
}
